import { createPinia } from 'pinia'
// pinia 可持续化导入
import persist from 'pinia-plugin-persistedstate'
// pinia 可持续化use
const pinia = createPinia()

pinia.use(persist)

export default pinia

// 上面方法优化写法如下

export * from './modules/api'
export * from './modules/counter'